package com.xx.ch06.text.text02;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 许欣
 * 时间：2022/4/18 14:56
 * 描述：
 */
public class MonkeyTest01 {
    @Test
    public void Monkey(){
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext6.xml");
        MonkeyText monkeyText=context.getBean("monkey",MonkeyText.class);
        monkeyText.print();
    }
}
